<template>
<Greet :showTerminal="showTerminal" @toggleTerminal="toggleTerminal" />
<!-- <MenuBar :showTerminal="showTerminal" /> -->
    <Antv :showTerminal="showTerminal" />
</template>

<script>
import Greet from './Greet.vue';
import Antv from './Antv.vue';
import MenuBar from './MenuBar.vue';
import { useRouter } from 'vue-router'

export default {
  components: {
    Greet,
    MenuBar,
    Antv,
  },
  data() {
    return {
      showTerminal: false
    };
  },
  methods: {
    toggleTerminal() {
      this.showTerminal = !this.showTerminal;
    }
  }
};
</script>